/**
 * @(#)ChannelApkInfo.java 2016年9月22日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.channel;

import java.io.Serializable;
import java.util.List;

import org.jsbd.boss.util.DateUtil;

/**
 * 需要刷量的apk信息
 * 
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
public class ChannelRetentConfig implements Serializable {

	/**
	 * serialVersionUID TODO 请描述这个变量的含义
	 */
	private static final long serialVersionUID = -5220229154852937989L;

	private String channelName;

	/**
	 * 用户留存比例
	 */
	private Double retentRate;

	private Double brushRate;

	/**
	 * 留存天数
	 */
	private Integer retentDay;
	private String configDay;
	/**
	 * 用户执行次数
	 */
	private Integer exetimes;
	private String mark;
	private String copyMark;

	private String createTime;
	private String modifyTime;
	private Integer priority;
	private Integer total;
	private Integer execTotal;
	private String apkName;

	private List<String> keywords;

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Double getRetentRate() {
		return retentRate;
	}

	public void setRetentRate(Double retentRate) {
		this.retentRate = retentRate;
	}

	public Integer getRetentDay() {
		return retentDay;
	}

	public void setRetentDay(Integer retentDay) {
		this.retentDay = retentDay;
	}

	public Integer getExetimes() {
		return exetimes;
	}

	public void setExetimes(Integer exetimes) {
		this.exetimes = exetimes;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getExecTotal() {
		return execTotal;
	}

	public void setExecTotal(Integer execTotal) {
		this.execTotal = execTotal;
	}

	public String getConfigDay() {
		if (retentDay != null) {
			configDay = DateUtil.getPreSomeDay(retentDay);
		}
		return configDay;
	}

	public void setConfigDay(String configDay) {
		this.configDay = configDay;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getApkName() {
		return apkName;
	}

	public void setApkName(String apkName) {
		this.apkName = apkName;
	}

	public List<String> getKeywords() {
		return keywords;
	}

	public void setKeywords(List<String> keywords) {
		this.keywords = keywords;
	}


	public Double getBrushRate() {
		return brushRate;
	}

	public void setBrushRate(Double brushRate) {
		this.brushRate = brushRate;
	}

	public String getCopyMark() {
		return copyMark;
	}

	public void setCopyMark(String copyMark) {
		this.copyMark = copyMark;
	}
}
